package com.cha.chaApp.baby.param;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("album_table")
public class Alum {
    @ApiModelProperty(value = "相册id", example = "1")
    private Integer albumId;
    @ApiModelProperty(value = "相片路径", example = "")
    private String img;
    @ApiModelProperty(value = "宝宝id", example = "1")
    private Integer babyId;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "拍摄时间", example = "2021-01-01")
    private Data shootingTime;
    @ApiModelProperty(value = "上传者id", example = "1")
    private Integer uploaderId;
    @ApiModelProperty(value = "阶段", example = "1")
    private Integer stage;
}
